package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 评估评分明细
 * </p>
 *
 * @author zqb
 * @date 2024-07-08 16:40:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "评估评分明细")
public class BPgRecordDetailUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 评估记录id
     */
    @Schema(description = "评估记录id")
    @NotNull(message = "请填写评估记录id")
    private Long pgRecordId;
    /**
     * 输入项id
     */
    @Schema(description = "输入项id")
    @NotNull(message = "请填写输入项id")
    private Long pgSrxId;
    /**
     * 选择项id,多选项用|分割
     */
    @Schema(description = "选择项id,多选项用|分割")
    @NotEmpty(message = "请填写选择项id,多选项用|分割")
    @Size(max = 300, message = "选择项id,多选项用|分割长度不能超过{max}")
    private String detailId;

    /**
     * 评估项id
     */
    @Schema(description = "评估项id")
    private Long pgId;
    /**
     * 存储自定义内容
     */
    @Schema(description = "存储自定义内容")
    @Size(max = 100, message = "存储自定义内容长度不能超过{max}")
    private String diyContent;


}
